com.supermap.ar.areffect.gltfModel
Class Accessors
- java.lang.Object
-
- com.supermap.ar.areffect.gltfModel.Accessors
-
public class Accessors extends java.lang.Objectaccessor consistent with gltf model parameters One accessor corresponds with one bufferview It is used for defining the data type, data format, and layout of bufferview
-
-
Constructor Summary
Constructors Constructor and Description Accessors()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.IntegergetBufferView()Gets tilesjava.lang.IntegergetByteOffset()Gets offsetsjava.lang.IntegergetComponentType()Gets data typesjava.lang.IntegergetCount()Gets the number of elementsjava.util.List<java.lang.Double>getMax()Gets the maximum valuejava.util.List<java.lang.Double>getMin()Gets the minimum valuejava.lang.StringgetName()Gets the namejava.lang.StringgetType()Gets the property typevoidsetBufferView(java.lang.Integer bufferView)Sets tilesvoidsetByteOffset(java.lang.Integer byteOffset)Sets offsetsvoidsetComponentType(java.lang.Integer componentType)Sets data types Such as 512 is floatvoidsetCount(java.lang.Integer count)Sets the number of elementsvoidsetMax(java.util.List<java.lang.Double> max)Sets the maximum valuevoidsetMin(java.util.List<java.lang.Double> min)Sets the minimum valuevoidsetName(java.lang.String name)Sets a namevoidsetType(java.lang.String type)Sets the property type type is used for indicating whether the data element is scale (SCALLAR), vector (VEC3), or matrix (MAT4)
-
-
-
Method Detail
-
setBufferView
public void setBufferView(java.lang.Integer bufferView)
Sets tiles- Parameters:
bufferView-
-
getBufferView
public java.lang.Integer getBufferView()
Gets tiles- Returns:
-
setByteOffset
public void setByteOffset(java.lang.Integer byteOffset)
Sets offsets- Parameters:
byteOffset-
-
getByteOffset
public java.lang.Integer getByteOffset()
Gets offsets- Returns:
-
setComponentType
public void setComponentType(java.lang.Integer componentType)
Sets data types Such as 512 is float- Parameters:
componentType-
-
getComponentType
public java.lang.Integer getComponentType()
Gets data types- Returns:
-
setCount
public void setCount(java.lang.Integer count)
Sets the number of elements- Parameters:
count-
-
getCount
public java.lang.Integer getCount()
Gets the number of elements- Returns:
-
setMax
public void setMax(java.util.List<java.lang.Double> max)
Sets the maximum value- Parameters:
max-
-
getMax
public java.util.List<java.lang.Double> getMax()
Gets the maximum value- Returns:
-
setMin
public void setMin(java.util.List<java.lang.Double> min)
Sets the minimum value- Parameters:
min-
-
getMin
public java.util.List<java.lang.Double> getMin()
Gets the minimum value- Returns:
-
setType
public void setType(java.lang.String type)
Sets the property type type is used for indicating whether the data element is scale (SCALLAR), vector (VEC3), or matrix (MAT4)- Parameters:
type-
-
getType
public java.lang.String getType()
Gets the property type- Returns:
-
setName
public void setName(java.lang.String name)
Sets a name- Parameters:
name-
-
getName
public java.lang.String getName()
Gets the name- Returns:
-
-